package com.code.day17;

import java.util.function.Function;
import java.util.stream.Stream;

public class Demo07Stream {
    public static void main(String[] args) {
        Stream<Integer> integerStream = Stream.of(1, 2, 3, 4, 5);
        integerStream.map(integer -> integer+"").forEach(s-> System.out.println(s+1));

    }
}
